package grape.sequence.service.generator.mapper;

import grape.sequence.service.generator.dbbased.GeneratorInsertPo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 序列生成配置表 Mapper 接口
 * </p>
 *
 * @author yangwei
 * @since 2020-08-20
 */
public interface GeneratorMapper {

    Integer dropTable(String tableName);

    Integer createNewTable(String tableName);

    Integer insert(GeneratorInsertPo po);

    Integer insertFull(GeneratorInsertPo po);

    Long maxId(String tableName);
}
